export default vm => {
  return {
    stripe: true,
    headerAlign: 'left',
    align: 'left',
    border: true,
    defaultExpandAll: false,
    selection: true,
    tip: false,
    searchMenuSpan: 6,
    searchMenuPosition: 'left',
    size: 'mini',
    maxHeight: '600',
    column: [
      {
        label: '主键',
        prop: 'versionId',
        display: false,
        hide: false
      },
      {
        // type: 'upload',
        label: 'app链接',
        prop: 'appUrl',
        loadText: '文件上传中，请稍等',
        span: 24
        // dataType: 'string',
        // tip: '只能上传jpg/png文件，且不超过500kb',
        // action: '/common/upload',
        // width: 200
      },

      {
        label: '版本号',
        prop: 'code'
      },
      {
        label: '版本类型',
        prop: 'updatePackageType',
        type: 'select',
        dicData: [{ label: 'APK', value: 0 }, { label: 'WGT', value: 1 }]
      },
      {
        label: '备注',
        prop: 'remark'
      },
      {
        label: '时间',
        prop: 'createtime',
        display: false
      }
    ]
  }
}
